#pragma once
#include "Singleton.h"

class SectionInfo
{
public:
    SectionInfo();
    std::string operator[](const std::string &key);
    void set_vals(std::map<std::string, std::string> vals);

private:
    std::map<std::string, std::string> _vals;
};

class ConfigMgr
{

public:
    SectionInfo operator[](const std::string &section);
    static ConfigMgr& Inst();
private:
    ConfigMgr();
    std::map<std::string, SectionInfo> _sections;
};